package com.bbzn.device.client.utils;

public class UwbMathUtils {


    /**
     * 计算无误差的水平距离
     * @param height
     * @param rawDistance
     * @return
     */
    public static double getDistance(double height,double rawDistance){

        /*基站到定位终端的水平距离*/
        return Math.sqrt(Math.pow(rawDistance, 2)-Math.pow(height, 2));
    }
}
